package type;

public enum Buff {
    NORMAL(0), // 常态, 0秒
    SPEED_UP(5000), // 加速buff, 5秒
    SHIELD(10000), // 护盾buff, 10秒
    THROUGH_WALL(10000); // 穿墙buff, 10秒

    private int duration; // 持续时间
    private long buffStartTime; // buff开始时间

    Buff(int duration) {
        this.duration = duration;
    }

    public int getDuration() {
        return duration;
    }

    public long getBuffStartTime() {
        return buffStartTime;
    }

    public void setBuffStartTime(long buffStartTime) {
        this.buffStartTime = buffStartTime;
    }
}